package com.harveyguo.nihonngo.model.mapper;


import com.harveyguo.nihonngo.model.dto.WordDto;
import com.harveyguo.nihonngo.model.entity.Word;
import org.mapstruct.Mapper;
import org.springframework.stereotype.Component;

@Mapper(componentModel = "spring")
@Component
public interface WordMapper {

    WordDto toDto(Word word);
}
